package linkedlist;

public class DoubleHeroNode {

    public int no;
    public String name;
    public String nickname;
    public DoubleHeroNode next;
    public DoubleHeroNode pre;

    public DoubleHeroNode(int nno, String nname, String nnickname){
        this.no = nno;
        this.name = nname;
        this.nickname = nnickname;
    }

    @Override
    public String toString() {
        return "HeroNode{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", nickname='" + nickname + '\''+
                '}';
    }
}
